package com.dhcy.mqtt.par.ht;



import lombok.Data;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;



@Data
@ApiModel(value="设备数据新增修改",reference ="设备数据新增修改" )
public class DeviceDataAddPar {
   @ApiModelProperty(value="",dataType = "Integer ",example = "")
   private Integer id;
   @NotBlank(message = "设备id不能为空")
   @ApiModelProperty(value="设备id",dataType = "Integer ",example = "")
   private Integer deviceId;
   @NotBlank(message = "数据不能为空")
   @ApiModelProperty(value="数据",dataType = "Double ",example = "")
   private Double data;
   @NotBlank(message = "创建时间不能为空")
   @ApiModelProperty(value="创建时间",dataType = "Date ",example = "")
   private String createTime;

   String descs;

}
